package com.dwxt.sport.dao;

import com.dwxt.sport.entity.RunBody;
import com.dwxt.sport.entity.RunBodyExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RunBodyMapper {
    long countByExample(RunBodyExample example);

    int deleteByExample(RunBodyExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(RunBody record);

    int insertSelective(RunBody record);

    List<RunBody> selectByExampleWithBLOBs(RunBodyExample example);

    List<RunBody> selectByExample(RunBodyExample example);

    RunBody selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") RunBody record, @Param("example") RunBodyExample example);

    int updateByExampleWithBLOBs(@Param("record") RunBody record, @Param("example") RunBodyExample example);

    int updateByExample(@Param("record") RunBody record, @Param("example") RunBodyExample example);

    int updateByPrimaryKeySelective(RunBody record);

    int updateByPrimaryKeyWithBLOBs(RunBody record);

    int updateByPrimaryKey(RunBody record);
}